package com.magist.manage.copyrights.importExcel;

import cn.afterturn.easypoi.excel.annotation.Excel;
import lombok.Getter;
import lombok.Setter;
import org.hibernate.validator.constraints.NotBlank;

import java.io.Serializable;
import java.util.Date;

@Getter
@Setter
public class SupplyInfoImportDto implements Serializable {
    private static final long serialVersionUID = 1L;

    @Excel(name = "用户名", orderNum = "1")
    @NotBlank(message = "不能为空")
    private String usrName;
    @Excel(name = "简称", orderNum = "2")
    private String nickName;
    @Excel(name = "机构类型", replace = {"个人_GEREN","出版社_CHUBANSHE","出版公司_CHUBANGS","文化公司_WENHUAGS","平台_PINGTAI"},orderNum = "2")
    private String organizationType;
    @Excel(name = "供应商类型",replace = { "综合供应商_ZONGHE", "绘本供应商_HUIBEN", "听书供应商_TINGSHU", "IP供应商_IP"},orderNum = "3")
    private String supplyType;
    @Excel(name = "合作状态", replace = {"已上线_SHANGXIAN", "已提供内容_NEIRONG", "已签约_QIANYUE", "确认意向_YIXIANG", "联系上_LIANXI", "已搁置_GEZHI", "已下线_XIAXIAN", "合作结束_FAIL", "待联系_WAIT"}, orderNum = "5")
    private String status;
    @Excel(name = "评级", replace = {"A级_A","B级_B","C级_C","默认_DEFAULT"},orderNum = "4")
    private String supplyLevel;
    @Excel(name = "对接人", orderNum = "6")
    private String personName;
    @Excel(name = "入驻日期",importFormat = "yyyy-MM-dd", orderNum = "6")
    private Date entryDate;
    @Excel(name = "官方名称", orderNum = "6")
    private String companyName;
    @Excel(name = "供应商地址(选填)", orderNum = "6")
    private String address;
    @Excel(name = "背景特点(选填)", orderNum = "6")
    private String background;

}